<!doctype html>
<html style="width: 100%;height: 100%;padding: 0;margin: 0">
<body style="width: 100%;height: 100%;padding: 0;margin: 0;">
<iframe id="iframe" src="http://baby.163.com/special/2017hangyebang/" frameborder="0"
        style="width: 100%;height: 100%; overflow: hidden"></iframe>
<script src="http://apps.bdimg.com/libs/jquery/1.3.2/jquery.min.js"></script>
<script>
	$(function(){var maxNum = 50, interValid = setInterval(function () { if ($(".ui-influence3 li[data-id=32] a.tp").length > 0) { var clickObj = $(".ui-influence3 li[data-id=32] a.tp"); console.log(maxNum); if (maxNum > 0) { clickObj.click(); } else { clearInterval(interValid) } setTimeout(function () { clickObj.removeClass('on') }, 500); maxNum--; }else{ console.log('notready'); } }, 1000);})
</script>
</body>
</html>